<?php /* Smarty version Smarty-3.1.17, created on 2014-07-28 17:39:12
         compiled from "D:\Windows7\xampp\htdocs\partCart_0.1\\tpl\admin\login.html" */ ?>
<?php /*%%SmartyHeaderCode:469653aae963911143-54101048%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '29ec2678c6c6a18390cfea8215a7dad503a481b0' => 
    array (
      0 => 'D:\\Windows7\\xampp\\htdocs\\partCart_0.1\\\\tpl\\admin\\login.html',
      1 => 1406561111,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '469653aae963911143-54101048',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.17',
  'unifunc' => 'content_53aae963941409_47657803',
  'variables' => 
  array (
    'msg' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_53aae963941409_47657803')) {function content_53aae963941409_47657803($_smarty_tpl) {?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>用户登录</TITLE><LINK 
href="/public/css/Default.css" type=text/css rel=stylesheet><LINK 
href="/public/css/xtree.css" type=text/css rel=stylesheet><LINK 
href="/public/css/User_Login.css" type=text/css rel=stylesheet>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<script type="text/javascript" src="/public/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/public/js/crypt.js"></script>
</HEAD>
<BODY id=userlogin_body>
<DIV></DIV>
<form class="login_form" method="post" action="/index.php?c=User&a=login">
<DIV id=user_login>
<DL>
  <DD id=user_top>
  <UL>
    <LI class=user_top_l></LI>
    <LI class=user_top_c></LI>
    <LI class=user_top_r></LI></UL>
  <DD id=user_main>
  <UL>
    <LI class=user_main_l></LI>
    <LI class=user_main_c>
    <DIV class=user_main_box>
    <UL>
      <LI class=user_main_text>用户名： </LI>
      <LI class=user_main_input><INPUT class=TxtUserNameCssClass id=TxtUserName 
      maxLength=20 name='username'> </LI></UL>
    <UL>
      <LI class=user_main_text>密 码： </LI>
      <LI class=user_main_input><INPUT class=TxtPasswordCssClass id=TxtPassword 
      type=password name='password'> </LI></UL>
    <UL>
      <LI class=user_main_text>Cookie： </LI>
      <LI class=user_main_input><SELECT id=DropExpiration name=DropExpiration> 
        <OPTION value=None selected>不保存</OPTION> <OPTION value=Day>保存一天</OPTION> 
        <OPTION value=Month>保存一月</OPTION> <OPTION 
      value=Year>保存一年</OPTION></SELECT> </LI>
      <li class=user_main_text style="WIDTH: 20px;">&nbsp;</li>
      <LI class=user_main_text><a href="#" style="color:blue;text-decoration:underline;">注册帐号</a></LI></UL></DIV></LI>
    <LI class=user_main_r><INPUT class=IbtnEnterCssClass id="loginBtn"
						style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" type=image
						src="/public/images/user_botton.gif" name=IbtnEnter></LI></UL>
	<UL><Li><?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</Li></UL>
  <DD id=user_bottom>
  <UL>
    <LI class=user_bottom_l></LI>
    <LI class=user_bottom_c><SPAN style="MARGIN-TOP: 40px">如果您忘记密码，请点此 <A 
    href="http://www.mycodes.net">找回密码</A> 。</SPAN> </LI>
    <LI class=user_bottom_r></LI></UL></DD></DL></DIV><SPAN id=ValrUserName 
style="DISPLAY: none; COLOR: red"></SPAN><SPAN id=ValrPassword 
style="DISPLAY: none; COLOR: red"></SPAN><SPAN id=ValrValidateCode 
style="DISPLAY: none; COLOR: red"></SPAN>
<DIV id=ValidationSummary1 style="DISPLAY: none; COLOR: red"></DIV>
</form>
<DIV></DIV>

</BODY>
<script type="text/javascript">
	$(document).ready(function(){
		$('#loginBtn').click(function(){
			var username = $('.TxtUserNameCssClass').val().trim();
			var password = $('.TxtPasswordCssClass').val().trim();
			//检测登陆框是否为空
			if(username == ''){
				alert('用户名不能为空！');
				return false;
			}
			if(password == ''){
				alert('密码不能为空！');
				return false;
			} else {
				var crypt = new Crypt();
				$('.TxtPasswordCssClass').val(crypt.encrypt(password, password));
				$('.login_form').submit();
			}
		});
	});
</script>
</HTML>
<?php }} ?>
